#include <iostream>

using namespace std;
#include    "Integer.h"

int main()
{
    Integer num1("100");
    Integer num2(5);
    int i = num2;
    double d = num1;
    string str = num1;
    float f = 5.5;

    cout<<str;
    cout <<num1<<" + "<< num2 <<" = "<<num1+num2 << endl;//operator +
    cout <<num1<<" - "<< num2 <<" = "<<(num1-num1) << endl;//operator -
    cout <<num1<<" += "<< num2 <<" = "<<(num1+=num2) << endl;//operator +=
    cout <<num1<<" * "<< num2 <<" = "<<(num1*num2) << endl;//operator *
    cout <<num1<<" / "<< num2 <<" = "<<(num1/num2) << endl;//operator /
    cout <<num1<<" % "<< num2 <<" = "<<(num1%num2) << endl;//operator %
    cout <<num1<<" == "<< num1 <<" ? "<<(num1==num1) << endl;//operator ==
    cout <<num1<<" == "<< i <<" ? "<<(i==num1) << endl;//operator ==
    cout <<num1<<" == "<< i <<" ? "<<(num1 == i) << endl;//operator ==
    cout <<num1<<" <="<< num1 <<" ? "<<(num1<=num1) << endl;//operator <=
    cout <<num1<<" >="<< num1 <<" ? "<<(num1>=num1) << endl;//operator >=
    cout <<num1<<" <"<< num1 <<" ? "<<(num1<num1) << endl;//operator <
/*    cout <<num1<<" >"<< num1 <<" ? "<<(num1>num1) << endl;//operator >*/
    cout <<" ++"<< num2 <<" = "<<++num2<< endl;//operator
    cout << num2 <<"++ = "<<++num2<<"after increment is "<<num2<< endl;

    cout<<(d+num2+i+num1+f)<<endl;
    cout<<(i*num2)<<endl;
    cout<<(d-num2)<<endl;
    cout<<(i/num2)<<endl;
    i=i-num1;



    cout << (i>num1) ;
    cout << (i==num1) ;

    string str1("555");

    Integer num8("666");
    Integer num4(str1);
    i += num1;


    i += num2;

    return 0;
}
